//
//  BasketBallListItemCell.m
//  PlayBall
//
//  Created by Sun Fanglei on 13-4-11.
//
//

#import "JddBasketBallListItemCell.h"

@implementation JddBasketBallListItemCell

@synthesize firstTeamBtn;
@synthesize fistTeamName;
@synthesize secondTeamBtn;
@synthesize secondTeamName;
@synthesize delegate;
GET_INSTANCE_VIEW_IMPLEMENT(JddBasketBallListItemCell)

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)deleteBtn:(id)sender {
    [self.delegate performSelector:@selector(BasketBallListItemCellDeleteButtonClicked:) withObject:[NSNumber numberWithInt:self.tag]];
}
- (void)awakeFromNib
{
    self.firstTeamBtn.layer.borderColor = BORDER_COLOR;
    self.firstTeamBtn.layer.borderWidth = 0.5;
    
    self.secondTeamBtn.layer.borderColor = BORDER_COLOR;
    self.secondTeamBtn.layer.borderWidth = 0.5;

}
@end
